package com.example.qinghe.entity.sale;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 签到记录表对象 checkinrecords
 * 
 * @author ruoyi
 * @date 2023-09-07
 */
@ApiModel("签到记录表")
public class Checkinrecords
{
    private static final long serialVersionUID = 1L;

    /** 签到记录id */
    private Long id;

    /** 用户id */
    @ApiModelProperty(name = "用户id")
    private Long userid;

    /** 地点id */
    @ApiModelProperty(name = "地点id")
    private Long locationid;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "签到时间")
    private LocalDateTime checkintime;

    /** 签出时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "签出时间")
    private LocalDateTime checkouttime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public Long getLocationid() {
        return locationid;
    }

    public void setLocationid(Long locationid) {
        this.locationid = locationid;
    }

    public LocalDateTime getCheckintime() {
        return checkintime;
    }

    public void setCheckintime(LocalDateTime checkintime) {
        this.checkintime = checkintime;
    }

    public LocalDateTime getCheckouttime() {
        return checkouttime;
    }

    public void setCheckouttime(LocalDateTime checkouttime) {
        this.checkouttime = checkouttime;
    }
}
